package cn.lyvust.exam01;

import cn.lyvust.exam01.impl.CommonHandset;
import cn.lyvust.exam01.impl.SmartHandset;

/**
 * Description:
 * date: 2021-4-19 21:25
 *
 * @author Guo_guo
 * @since JDK 1.8
 */
public class HandsetTest {
    public static void main(String[] args) {
        CommonHandset coHandset=new CommonHandset("索尼爱立信","G502c");
        coHandset.info();
        coHandset.play("热雪");
        coHandset.sendInfo();
        coHandset.call();
        System.out.println();

        SmartHandset aHandset=new SmartHandset("I9100","HTC");
        aHandset.info();
        aHandset.networkConn();
        aHandset.play("小时代");
        aHandset.takePicture();
        aHandset.sendInfo();
        aHandset.call();
    }
}
